import utils from "@/utils/index.js";


export const regionTrendData = [
    [
        {
            "templateMonth": "2024-01",
            "amount": 0,
            "rate": null
        },
        {
            "templateMonth": "2024-02",
            "amount": 17424.98,
            "rate": 0.3084
        },
        {
            "templateMonth": "2024-03",
            "amount": 10359.37,
            "rate": 0.0766
        },
        {
            "templateMonth": "2024-04",
            "amount": 12856.88,
            "rate": 0.3019
        },
        {
            "templateMonth": "2024-05",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-06",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-07",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-08",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-09",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-10",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-11",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-12",
            "amount": 0,
            "rate": -1
        }
    ],
    [
        {
            "templateMonth": "2024-01",
            "amount": 0,
            "rate": null
        },
        {
            "templateMonth": "2024-02",
            "amount": 8.9,
            "rate": -0.0982
        },
        {
            "templateMonth": "2024-03",
            "amount": 8.3,
            "rate": -0.116
        },
        {
            "templateMonth": "2024-04",
            "amount": 8.35,
            "rate": -0.1145
        },
        {
            "templateMonth": "2024-05",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-06",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-07",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-08",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-09",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-10",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-11",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-12",
            "amount": 0,
            "rate": -1
        }
    ]
]

export const analyse2 = [
    [
        {
            "uniformCreditCode": "913302837301656166",
            "resourceName": "宁波亚德客自动化工业有限公司",
            "resourceCount": null,
            "resourceSum": 5068.73
        },
        {
            "uniformCreditCode": "91330283MA2J42GE1D",
            "resourceName": "宁波亿纬创能锂电池有限公司",
            "resourceCount": null,
            "resourceSum": 1435
        },
        {
            "uniformCreditCode": "91330200674725577Q",
            "resourceName": "宁波鲍斯能源装备股份有限公司",
            "resourceCount": null,
            "resourceSum": 1115.82
        },
        {
            "uniformCreditCode": "91330200610259968K",
            "resourceName": "宁波溪口抽水蓄能电站有限公司",
            "resourceCount": null,
            "resourceSum": 1056.93
        },
        {
            "uniformCreditCode": "91330283MA2827NF7X",
            "resourceName": "宁波弗迪电池有限公司",
            "resourceCount": null,
            "resourceSum": 1013.39
        },
        {
            "uniformCreditCode": "9133028372516992X9",
            "resourceName": "宁波市巨新铸造有限公司",
            "resourceCount": null,
            "resourceSum": 925.46
        },
        {
            "uniformCreditCode": "91330283144886250G",
            "resourceName": "宁波松科磁材有限公司",
            "resourceCount": null,
            "resourceSum": 892
        },
        {
            "uniformCreditCode": "9133028358749650XU",
            "resourceName": "宁波尼可海绵科技有限公司",
            "resourceCount": null,
            "resourceSum": 886.09
        },
        {
            "uniformCreditCode": "91330283551147439Q",
            "resourceName": "宁波海威汽车零件股份有限公司",
            "resourceCount": null,
            "resourceSum": 821.77
        },
        {
            "uniformCreditCode": "91330283MA2GUCM288",
            "resourceName": "宁波市锦泰机械制造有限公司",
            "resourceCount": null,
            "resourceSum": 567.65
        }
    ],
    [
        {
            "uniformCreditCode": "913302837301656166",
            "resourceName": "宁波亚德客自动化工业有限公司",
            "resourceCount": null,
            "resourceSum": 1.69
        },
        {
            "uniformCreditCode": "91330283MA2827NF7X",
            "resourceName": "宁波弗迪电池有限公司",
            "resourceCount": null,
            "resourceSum": 0.54
        },
        {
            "uniformCreditCode": "91330200674725577Q",
            "resourceName": "宁波鲍斯能源装备股份有限公司",
            "resourceCount": null,
            "resourceSum": 0.48
        },
        {
            "uniformCreditCode": "91330283742197236M",
            "resourceName": "宁波麦博韦尔移动电话有限公司",
            "resourceCount": null,
            "resourceSum": 0.3
        },
        {
            "uniformCreditCode": "91330283587493675Q",
            "resourceName": "宁波秉航科技集团有限公司",
            "resourceCount": null,
            "resourceSum": 0.3
        },
        {
            "uniformCreditCode": "91330283761498245G",
            "resourceName": "浙江飞达利恩精密制造有限公司",
            "resourceCount": null,
            "resourceSum": 0.29
        },
        {
            "uniformCreditCode": "91330283551147439Q",
            "resourceName": "宁波海威汽车零件股份有限公司",
            "resourceCount": null,
            "resourceSum": 0.28
        },
        {
            "uniformCreditCode": "913302837782284878",
            "resourceName": "浙江锐泰悬挂系统科技有限公司",
            "resourceCount": null,
            "resourceSum": 0.27
        },
        {
            "uniformCreditCode": "91330283772319556L",
            "resourceName": "宁波奉化金盛镀业有限公司",
            "resourceCount": null,
            "resourceSum": 0.27
        },
        {
            "uniformCreditCode": "913302835612890860",
            "resourceName": "浙江亿太诺气动科技有限公司",
            "resourceCount": null,
            "resourceSum": 0.27
        }
    ]
]

export const trendData  = [
    [
        {
            "templateMonth": "2024-01",
            "amount": 0,
            "rate": null
        },
        {
            "templateMonth": "2024-02",
            "amount": 17424.98,
            "rate": 0.3084
        },
        {
            "templateMonth": "2024-03",
            "amount": 10359.37,
            "rate": 0.0766
        },
        {
            "templateMonth": "2024-04",
            "amount": 12856.88,
            "rate": 0.3019
        },
        {
            "templateMonth": "2024-05",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-06",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-07",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-08",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-09",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-10",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-11",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-12",
            "amount": 0,
            "rate": -1
        }
    ],
    [
        {
            "templateMonth": "2024-01",
            "amount": 0,
            "rate": null
        },
        {
            "templateMonth": "2024-02",
            "amount": 8.9,
            "rate": -0.0982
        },
        {
            "templateMonth": "2024-03",
            "amount": 8.3,
            "rate": -0.116
        },
        {
            "templateMonth": "2024-04",
            "amount": 8.35,
            "rate": -0.1145
        },
        {
            "templateMonth": "2024-05",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-06",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-07",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-08",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-09",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-10",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-11",
            "amount": 0,
            "rate": -1
        },
        {
            "templateMonth": "2024-12",
            "amount": 0,
            "rate": -1
        }
    ]
]

export const analyseData = [
    [
        {
            "uniformCreditCode": null,
            "resourceName": "江口街道",
            "resourceCount": 119,
            "resourceSum": 10079.69
        },
        {
            "uniformCreditCode": null,
            "resourceName": "开发区",
            "resourceCount": 117,
            "resourceSum": 7579.76
        },
        {
            "uniformCreditCode": null,
            "resourceName": "西坞街道",
            "resourceCount": 86,
            "resourceSum": 6121.57
        },
        {
            "uniformCreditCode": null,
            "resourceName": "溪口镇",
            "resourceCount": 81,
            "resourceSum": 3494.02
        },
        {
            "uniformCreditCode": null,
            "resourceName": "尚田街道",
            "resourceCount": 60,
            "resourceSum": 2783.97
        },
        {
            "uniformCreditCode": null,
            "resourceName": "莼湖街道",
            "resourceCount": 54,
            "resourceSum": 2733.51
        },
        {
            "uniformCreditCode": null,
            "resourceName": "岳林街道",
            "resourceCount": 49,
            "resourceSum": 2002.45
        },
        {
            "uniformCreditCode": null,
            "resourceName": "裘村镇",
            "resourceCount": 27,
            "resourceSum": 1724.13
        },
        {
            "uniformCreditCode": null,
            "resourceName": "方桥街道",
            "resourceCount": 29,
            "resourceSum": 1233.07
        },
        {
            "uniformCreditCode": null,
            "resourceName": "松岙镇",
            "resourceCount": 13,
            "resourceSum": 1204.83
        },
        {
            "uniformCreditCode": null,
            "resourceName": "萧王庙街道",
            "resourceCount": 37,
            "resourceSum": 1134.62
        },
        {
            "uniformCreditCode": null,
            "resourceName": "锦屏街道",
            "resourceCount": 25,
            "resourceSum": 538.04
        },
        {
            "uniformCreditCode": null,
            "resourceName": "大堰镇",
            "resourceCount": 1,
            "resourceSum": 11.57
        }
    ],
    [
        {
            "uniformCreditCode": null,
            "resourceName": "江口街道",
            "resourceCount": 119,
            "resourceSum": 6.51
        },
        {
            "uniformCreditCode": null,
            "resourceName": "开发区",
            "resourceCount": 117,
            "resourceSum": 4.36
        },
        {
            "uniformCreditCode": null,
            "resourceName": "西坞街道",
            "resourceCount": 86,
            "resourceSum": 2.93
        },
        {
            "uniformCreditCode": null,
            "resourceName": "溪口镇",
            "resourceCount": 81,
            "resourceSum": 2.69
        },
        {
            "uniformCreditCode": null,
            "resourceName": "尚田街道",
            "resourceCount": 60,
            "resourceSum": 1.79
        },
        {
            "uniformCreditCode": null,
            "resourceName": "莼湖街道",
            "resourceCount": 54,
            "resourceSum": 1.63
        },
        {
            "uniformCreditCode": null,
            "resourceName": "岳林街道",
            "resourceCount": 49,
            "resourceSum": 1.48
        },
        {
            "uniformCreditCode": null,
            "resourceName": "萧王庙街道",
            "resourceCount": 37,
            "resourceSum": 1.1
        },
        {
            "uniformCreditCode": null,
            "resourceName": "锦屏街道",
            "resourceCount": 25,
            "resourceSum": 0.93
        },
        {
            "uniformCreditCode": null,
            "resourceName": "方桥街道",
            "resourceCount": 29,
            "resourceSum": 0.9
        },
        {
            "uniformCreditCode": null,
            "resourceName": "裘村镇",
            "resourceCount": 27,
            "resourceSum": 0.66
        },
        {
            "uniformCreditCode": null,
            "resourceName": "松岙镇",
            "resourceCount": 13,
            "resourceSum": 0.55
        },
        {
            "uniformCreditCode": null,
            "resourceName": "大堰镇",
            "resourceCount": 1,
            "resourceSum": 0.02
        }
    ],


]

export const regionalElements = [
    {
        count: 40641.23,
        unit: '万千瓦时',
        area: '能耗（2023年累计）',
        color: '#7b90f6',
        bgColor: '#e0e9ff',
        logo: utils.getAssetsFile('pw1.png'),
    },
    {
        count: 25.55,
        unit: '万人',
        area: '人工（2023年累计）',
        color: '#56c38d',
        bgColor: '#f0f8ea',
        logo: utils.getAssetsFile('pw2.png'),
    },
    {
        count: 35,
        unit: '幢',
        area: '楼宇（服务业）',
        color: '#65a8f7',
        bgColor: '#ebf6fd',
        logo: utils.getAssetsFile('pw3.png'),
    },
]
